package org.esgl3d.rendering;

import javax.microedition.khronos.opengles.GL10;

import android.graphics.Bitmap;
import android.opengl.GLUtils;

public class Texture {
	private final int textureId;
	private final int width;
	private final int height;
	
	public int getHeight() {
		return height;
	}
	
	public int getWidth() {
		return width;
	}
	
	public int getTextureId() {
		return textureId;
	}
	
	public void bind(GL10 gl) {
		gl.glBindTexture(GL10.GL_TEXTURE_2D, textureId);
	}
	
	Texture(int id, int setWidth, int setHeight) {
		textureId = id;
		width = setWidth;
		height = setHeight;
	}
	
	
}
